import {observable} from 'mobx'
import {fetchLiveList} from '@/api/live'

export default observable({
  list: [],
  getLiveList(data) {
    fetchLiveList(data).then(res => {
      this.list = res
    })
  }
})